package com.example.myproject.dto.user;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class UserInfoDTO {
    @JsonProperty("user_id")
    private Long userId;
    @JsonProperty("user_name")
    private String userName;
    @JsonProperty("user_status")
    private String userStatus;
    @JsonProperty("role")
    private String role;
    @JsonProperty("email")
    private String email;
    private Integer userExperience;
    @JsonProperty("avatar_url")
    private String avatar;
    @JsonProperty("bio")
    private String bio;
    private Long titleId;
    private String titleName;  // 添加勋章名称
    private Boolean emailVerified;
    private String nickName;
    @JsonProperty("created_time")
    private String createdTime;
    @JsonProperty("level")
    private Integer userLevel;
    private String passkey;
}